#include "Queue.h"

void Test()
{
	Queue q;
	QueueInit(&q);
	QueuePush(&q, 1);
	QueuePush(&q, 2);
	QueuePush(&q, 3);
	QueuePush(&q, 4);
	QueuePush(&q, 5);
	QueuePush(&q, 6);
	QueuePrint(&q);

	QueuePop(&q);
	QueuePop(&q);
	QueuePop(&q);
	QueuePrint(&q);

	QueuePush(&q, 66);
	QueuePush(&q, 77);
	QueuePush(&q, 88);


	printf("%d\n", QueueFront(&q));
	printf("%d\n", QueueBack(&q));
	printf("%d\n", QueueSize(&q));

	QueueQestroy(&q);
}

int main()
{
	Test();
	return 0;
}